package com.example.lotterysystem.common.errorcode;

public interface ServiceErrorCodeConstants {

    //人员模块错误吗
    ErrorCode REGISTER_INFO_IS_EMPTY = new ErrorCode(100,"注册信息为空！");
    ErrorCode MAIL_ERROR = new ErrorCode(101,"邮箱格式错误");
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(102,"手机号码格式错误");
    ErrorCode IDENTITY_ERROR = new ErrorCode(103,"身份错误");
    ErrorCode PASSWORD_IS_EMPTY = new ErrorCode(104,"密码为空");
    ErrorCode PASSWORD_ERROR = new ErrorCode(105,"密码错误");
    ErrorCode MAIL_USED = new ErrorCode(106,"邮箱已被注册");
    ErrorCode PHONE_NUMBER_USED = new ErrorCode(107,"该号码已被注册");
    ErrorCode LOGIN_INFO_NOT_EXIT = new ErrorCode(108,"登录信息不存在");
    ErrorCode LOGIN_NOT_EXIT = new ErrorCode(109,"登录方式不存在");
    ErrorCode USER_INFO_NOT_EXIT = new ErrorCode(110,"用户信息不存在");
    ErrorCode CODE_ERROR = new ErrorCode(111,"验证码错误");





    //奖品模块错误码
    ErrorCode FIND_PRIZE_LIST_ERROR = new ErrorCode(200,"查询奖品列表异常");




    //活动模块错误吗
    ErrorCode CREATE_ACTIVITY_INFO_EMPTY = new ErrorCode(300,"创建活动信息为空");
    ErrorCode ACTIVITY_USER_INFO_ERROR = new ErrorCode(301,"活动关联人员异常");
    ErrorCode ACTIVITY_PRIZE_INFO_ERROR = new ErrorCode(302,"活动关联奖品异常");
    ErrorCode ACTIVITY_PRIZE_USER_INFO_ERROR = new ErrorCode(303,"活动关联人员及奖品设置异常");
    ErrorCode ACTIVITY_PRIZE_TIER_ERROR = new ErrorCode(304,"活动奖品等级设置异常");
    ErrorCode FIND_ACTIVITY_ERROR = new ErrorCode(305,"查询抽奖活动异常");
    ErrorCode ACTIVITY_STATUS_CONVERT_ERROR = new ErrorCode(306,"活动相关状态转换异常");
    ErrorCode CACHE_ACTIVITY_ID_IS_EMPTY = new ErrorCode(307,"缓存活动的活动id为空");
    ErrorCode CACHE_ACTIVITY_ID_ERROR = new ErrorCode(308,"缓存活动的活动id有误");









    //抽奖模块错误码
    ErrorCode ACTIVITY_OR_PRIZE_NOT_EXIST = new ErrorCode(400,"活动或者活动关联的奖品不存在");
    ErrorCode ACTIVITY_STATUS_ERROR = new ErrorCode(401,"该抽奖活动已经结束");
    ErrorCode ACTIVITY_PRIZE_STATUS_ERROR = new ErrorCode(402,"该奖品以被抽取");
    ErrorCode ACTIVITY_PRIZE_ERROR = new ErrorCode(403,"奖品数量和人员数量不匹配");






    //奖品模块错误码
    ErrorCode PICTURE_UPLOAD_ERROR = new ErrorCode(500,"图片上传错误");
    ErrorCode PRIZE_INFO_UPLOAD_EMPTY = new ErrorCode(501,"上传奖品信息为空");

}
